package com.zfast.yugioh.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * 特效解析对象/默认select
 *
 * @author zgn
 * @email
 * @date 2022-06-15 17:10:58
 */
@Data
@ApiModel(value = "EffectBo", description = "特效解析对象")
public class EffectBo {
    @ApiModelProperty("卡片信息")
    CardBo cardBo;

    @ApiModelProperty("原始表达式")
    private String orgExpression;

    @ApiModelProperty("核心动作")
    private String coreAct="SELECT";

    @ApiModelProperty("目标对象")//先用Str,后续更近
    private String aimObject;

    @ApiModelProperty("是否变更{目标对象}/默认否")
    private Boolean isSet=false;

    @ApiModelProperty("变更{目标对象}条件")
    private String aimJudge;

    @ApiModelProperty("是否设置{来源数据组}/默认否")
    private Boolean isFrom=false;

    @ApiModelProperty("来源数据组")//先用Str,后续更近
    private String targetObjectArrys;

    @ApiModelProperty("是否设置{目的数据组}/默认否")
    private Boolean isTo=false;

    @ApiModelProperty("目的数据组")//先用Str,后续更近
    private String aimObjectArrys;

    @ApiModelProperty("是否设置{来源数据组}条件/默认否")
    private Boolean isWhere=false;

    @ApiModelProperty("筛选{来源数据组}条件")
    private String targetJudge;

    @ApiModelProperty("是否设置{目标对象}数量/默认否")
    private Boolean isLimit=false;

    @ApiModelProperty("筛选{目标对象}数量")
    private String limitStr;

    @ApiModelProperty("筛选{目标对象}数量/起始值")
    private BigDecimal limitStart;

    @ApiModelProperty("筛选{目标对象}数量/数量")
    private BigDecimal limitNum;

    @ApiModelProperty("拓展记录")
    HashMap expandMap = new HashMap();
}
